import request from '@/utils/request'

// 服务规格列表
export function specificationLists(params?: Record<string, any>) {
    return request.get({ url: '/specification/list', params })
}

// 服务规格详情
export function specificationDetail(params: Record<string, any>) {
    return request.get({ url: '/specification/detail', params })
}

// 服务规格新增
export function specificationAdd(params: Record<string, any>) {
    return request.post({ url: '/specification/add', params })
}

// 服务规格编辑
export function specificationEdit(params: Record<string, any>) {
    return request.post({ url: '/specification/edit', params })
}

// 服务规格删除
export function specificationDelete(params: Record<string, any>) {
    return request.post({ url: '/specification/del', params })
}
